package com.db.junit.state;

import com.db.junit.IAccount;
import com.db.junit.LoginService;

/**
 * User: Yury
 */
public class FirstFailedAttempt extends LoginServiceState {
    @Override
    protected void dealWithFailedAttempt(IAccount account, LoginService context) {
        context.setState(account.getUserName(), new SecondFailedAttempt());
    }
}
